package com.liuf.di.domain;

import java.io.Serializable;

/**
 * @program: spring-cloud-liuf-master
 * @description: 数据源信息
 * @author: Mr.Liu
 * @create: 2018-09-04 16:51
 * @码云： https://gitee.com/www.jiandan.com
 **/
public class Database implements Serializable {

    /**主键*/
    private long id;
    /**数据库别名*/
    private String name;
    /**数据库类型*/
    private String type;
    /**数据库XX*/
    private int access;
    /**IP地址*/
    private String host;
    /**数据库名称*/
    private String dbname;
    /**端口号*/
    private int port;
    /**用户名*/
    private String user;
    /**密码*/
    private String pass;
    /**服务名称*/
    private String servername;
    /**表空间*/
    private String dataTablespace;
    /**索引表空间*/
    private String indexTablespace;

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public int getAccess() {
        return access;
    }

    public void setAccess(int access) {
        this.access = access;
    }

    public String getHost() {
        return host;
    }

    public void setHost(String host) {
        this.host = host;
    }

    public String getDbname() {
        return dbname;
    }

    public void setDbname(String dbname) {
        this.dbname = dbname;
    }

    public int getPort() {
        return port;
    }

    public void setPort(int port) {
        this.port = port;
    }

    public String getUser() {
        return user;
    }

    public void setUser(String user) {
        this.user = user;
    }

    public String getPass() {
        return pass;
    }

    public void setPass(String pass) {
        this.pass = pass;
    }

    public String getServername() {
        return servername;
    }

    public void setServername(String servername) {
        this.servername = servername;
    }

    public String getDataTablespace() {
        return dataTablespace;
    }

    public void setDataTablespace(String dataTablespace) {
        this.dataTablespace = dataTablespace;
    }

    public String getIndexTablespace() {
        return indexTablespace;
    }

    public void setIndexTablespace(String indexTablespace) {
        this.indexTablespace = indexTablespace;
    }
}
